Nested SVM: fix race in remote shootdown.
authorTim Deegan <Tim.Deegan@citrix.com>
Wed, 6 Apr 2011 10:22:39 +0000 (11:22 +0100)
committerTim Deegan <Tim.Deegan@citrix.com>
Wed, 6 Apr 2011 10:22:39 +0000 (11:22 +0100)
commitb44ab76605b8384b9b96ef7597b29b403daaca35
treeb35fd2fb947f3b8cee68c34dfd2ba69f9ab1dbd6
parent39ddc439596065a02ce4c530be5bcb66fa14c5ae
Nested SVM: fix race in remote shootdown.

nestedhvm_flushtlb_ipi() can run between nsvm_vcpu_switch() and CLGI,
which would leave the VMCB pointing at the wrong p2m table.
Check for this after CLGI.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/hvm/svm/entry.S
xen/arch/x86/x86_32/asm-offsets.c
xen/arch/x86/x86_64/asm-offsets.c